<?php

namespace app\api\model;

use think\Model;

class Participant extends Model
{
    public function getTeamAttr($value){
        $team = [
            '1'     =>  '一团',
            '2'     =>  '二团',
            '3'     =>  '三团',
            '4'     =>  '四团',
        ];
        return $team[$value];
    }
}